package com.service.acl.service;

import com.service.acl.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-10-22
 */
public interface PermissionService extends IService<Permission> {

    List<Permission> queryAll();

    List<Permission> queryChildren(String pid);

    List<Permission> queryRoleId(String roleId);

    void delete(String id);
}
